<div id="gdlr-core-recent-post-widget-3" class="widget widget_gdlr-core-recent-post-widget akea-widget popular-post-content" style="background: #fff" data-margin-top="120">
    <h3 class="akea-widget-title">
        <span class=akea-widget-head-text>热门</span>
        <span class=akea-widget-head-divider></span>
    </h3>
    <span class="clear"></span>
    <div class="gdlr-core-recent-post-widget-wrap gdlr-core-style-full">
        {% for page in pages %}
            <div class="gdlr-core-recent-post-widget clearfix">
                <div class="gdlr-core-recent-post-widget-thumbnail gdlr-core-media-image">
                    <a href="{{ path('article_content', {id: page.id}) }}">
                        <img src="{% if page.thumbnail is not null %}{{ asset(page.thumbnail) }}{% else %}{{ asset('images/none-1000x486.jpg') }}{% endif %}">
                    </a>
                    <span class="gdlr-core-blog-info gdlr-core-blog-info-font gdlr-core-skin-caption gdlr-core-blog-info-category" style="color: #FFF">
                        {{ page.category }}
                    </span>
                </div>
                <div class=gdlr-core-recent-post-widget-content>
                    <div class="gdlr-core-recent-post-widget-title gdlr-core-title-font">
                        <a href="{{ path('article_content', {id: page.id}) }}">{{ page.title }}</a>
                    </div>
                </div>
            </div>
        {% endfor %}
    </div>
</div>